package tedu.study.ooday08;

public class InterfaceDemo {
    public static void main(String[] args) {
        Aoo a = new Aoo();
        a.show();

        Inter i = new Aoo();
        Inter.test();

        Inter1 i1 = new Aoo();
        i1.show();
    }
}



interface Inter{
    int COUNT = 5;
    int NUM = 9;
    static void test(){
        System.out.println("2222");
    };
}

interface Inter1{
    void show();
}

class Aoo implements Inter,Inter1 {

    @Override
    public void show() {
        System.out.println("1111");
    }
}

abstract class Boo{
    static void show(){};
}